package com.twu.biblioteca;

public class LibraryBook {
    private String name;
    private String author;
    private int copyNumber;
    private int reserved;

    public LibraryBook(String bookName, String author, int copy) {
        name = bookName;
        this.author = author;
        copyNumber = copy;

    }

    public String getName() {
        return name;
    }

    public String getAuthor() {
        return author;
    }

    public int getCopyNumber() {
        return copyNumber;
    }

    public void setReserved() {
        this.reserved += 1;
    }

    public int getReserved() {
        return reserved;
    }
}
